import request from '@/utils/request'

// 查询废钢电炉进耗存录入列表
export function listFgdl(query) {
  return request({
    url: '/jhc/fgdl/list',
    method: 'get',
    params: query
  })
}

// 查询废钢电炉进耗存录入详细
export function getFgdl(cDate) {
  return request({
    url: '/jhc/fgdl/' + cDate,
    method: 'get'
  })
}

// 新增废钢电炉进耗存录入
export function addFgdl(data) {
  return request({
    url: '/jhc/fgdl',
    method: 'post',
    data: data
  })
}

// 修改废钢电炉进耗存录入
export function updateFgdl(data) {
  return request({
    url: '/jhc/fgdl',
    method: 'put',
    data: data
  })
}

// 删除废钢电炉进耗存录入
export function delFgdl(cDate) {
  return request({
    url: '/jhc/fgdl/' + cDate,
    method: 'delete'
  })
}
